package com.maistars.spider.repository.security.mapper;

import com.maistars.spider.repository.security.model.PermissionPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface PermissionMapper {
	public PermissionPO getPermission(PermissionPO permissionPO);
	public List<PermissionPO> getAllPermission();
	
	public void addPermission(PermissionPO permissionPO);
	public void deletePermission(PermissionPO permissionPO);
	public void updatePermission(PermissionPO permissionPO);
}
